package com.entity;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author king
 * @date 2022/5/5 - 15:51
 */
public class LoginUser {
    private int id;
    private String username;
    private String ip ;
    private String isLogin;
    private Date loginTime;
    private int userId;

    private String isAdmin;

    public LoginUser() {
    }

    public LoginUser( String username, String ip, String isLogin, Date loginTime, int userId,String isAdmin) {

        this.username = username;
        this.ip = ip;
        this.isLogin = isLogin;
        this.loginTime = loginTime;
        this.userId = userId;
        this.isAdmin=isAdmin;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIsLogin() {
        return isLogin;
    }

    public void setIsLogin(String isLogin) {
        this.isLogin = isLogin;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(String isAdmin) {
        this.isAdmin = isAdmin;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
